package com.qf.service.impl;

import com.qf.dao.TreeMapper;
import com.qf.entity.Tree;
import com.qf.service.TreeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author chen
 * @version 1.0
 * @date 2019/10/24 16:56
 */
@Service
public class TreeServiceImpl implements TreeService {
    @Resource
    private TreeMapper treeMapper;
    @Override
    public Tree getLoveTree(int treeid) {
        Tree tree = treeMapper.getLoveTree(treeid);
        return tree;
    }
}
